import BaseModel from './LogBaseModel'
import API from '@/api/apis'

class LogServerErrorModel extends BaseModel{

  constructor() {
    super()
    /**
     * 错误信息
     */
    this.msg = null
    /**
     * 状态码
     */
    this.statusCode = null

    /**
     * 删除单个数据的URL
     */
    this.removeOneUrl = API.logs.serverErrorRemoveOne
  }
}

/**
 * 列表加载URL
 * @type {String}
 */
LogServerErrorModel.listUrl = API.logs.serverErrorList
/**
 * 删除所有数据的URL
 * @type {String}
 */
LogServerErrorModel.removeAllUrl = API.logs.serverErrorRemoveAll

export default LogServerErrorModel
